package com.foton.orderserver.controller;

import com.foton.bq.service.api.order.OrderService;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

import javax.annotation.Resource;

/**
 * @Author RenPu
 * @Date 2024/2/4 10:00
 * @Version 1.0
 * @Description:
 **/
@RestController
@RequestMapping("/index")
public class OrderController {

    @Resource
    private OrderService orderService;

  @GetMapping("/test")
  public void getTest(String content){
      orderService.create(content);
  }


}
